package com.springboot.astra.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.springboot.astra.bean.Theme;

import java.util.List;

public interface ThemeService {
    Theme getOneByThemeId(Integer id);
    List<Theme> getAll();
    void insertOneTheme(Theme theme);
    void updateOneById(Theme theme);
    void deleteOneById(Theme theme);
    IPage<Theme> selectPageVo(Page<Theme> page, String query);
}
